<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
</head>
<body>
<table border="1">
    <tr>
        <th>名称</th>
        <th>角色</th>
    </tr>
    <#list users as user>
        <tr>
            <td>${user.name}</td>
            <td>
                <select name="role">
                    <#list roles as role>
                        <option value="${role}" <#if user.role == role>selected</#if>>${role}</option>
                    </#list>
                </select>
            </td>
        </tr>
    </#list>
</table>

</body>
</html>
